const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const ObjectId = Schema.Types.ObjectId;

const ShopSchema = new Schema({
    name: {
        type: String,
        required: true
    },
    info: {
        type: String,
        default: "商店信息"
    }
});

module.exports = Shops = mongoose.model("shops", ShopSchema);